package com.aaa.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Table: sys_job
 */
@Data
public class SysJob implements Serializable {
    /**
     * 任务ID
     *
     * Table:     sys_job
     * Column:    job_id
     * Nullable:  false
     */
    private Integer jobId;

    /**
     * 任务名称
     *
     * Table:     sys_job
     * Column:    job_name
     * Nullable:  false
     */
    private String jobName;

    /**
     * 任务组名
     *
     * Table:     sys_job
     * Column:    job_group
     * Nullable:  false
     */
    private String jobGroup;

    /**
     * 任务方法
     *
     * Table:     sys_job
     * Column:    method_name
     * Nullable:  true
     */
    private String methodName;

    /**
     * 方法参数
     *
     * Table:     sys_job
     * Column:    method_params
     * Nullable:  true
     */
    private String methodParams;

    /**
     * cron执行表达式
     *
     * Table:     sys_job
     * Column:    cron_expression
     * Nullable:  true
     */
    private String cronExpression;

    /**
     * 计划执行错误策略（1立即执行 2执行一次 3放弃执行）
     *
     * Table:     sys_job
     * Column:    misfire_policy
     * Nullable:  true
     */
    private String misfirePolicy;

    /**
     * 状态（0正常 1暂停）
     *
     * Table:     sys_job
     * Column:    status
     * Nullable:  true
     */
    private String status;

    /**
     * 创建者
     *
     * Table:     sys_job
     * Column:    create_by
     * Nullable:  true
     */
    private String createBy;

    /**
     * 创建时间
     *
     * Table:     sys_job
     * Column:    create_time
     * Nullable:  true
     */
    private Date createTime;

    /**
     * 更新者
     *
     * Table:     sys_job
     * Column:    update_by
     * Nullable:  true
     */
    private String updateBy;

    /**
     * 更新时间
     *
     * Table:     sys_job
     * Column:    update_time
     * Nullable:  true
     */
    private Date updateTime;

    /**
     * 备注信息
     *
     * Table:     sys_job
     * Column:    remark
     * Nullable:  true
     */
    private String remark;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table sys_job
     *
     * @mbg.generated Mon Jan 06 19:35:03 CST 2020
     */
    private static final long serialVersionUID = 1L;
}